﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="conent-R-inner">
<div id="banner">
                        <img src="css/tem/img/img-ind-2.jpg" width="756" height="196" />
                    </div>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="left" valign="top">
                                <div class="ind-new">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr align="left" valign="top">
                                            <td>
                                                <div class="ind-heading-news">
                                                    <% Response.Write("最新消息".ConverToCN());%>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                    <cc1:GridView ID="GridView1" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="False"
                                        AllowPaging="True" EmptyDataText="目前無資料" OnRowCommand="GridView1_RowCommand"
                                        BorderWidth="0px" CellPadding="0" CellSpacing="0" Width="100%" 
                                        GridLines="None" ShowHeader="False">
                                        <Columns>
                                            <asp:TemplateField HeaderText="日期">
                                                <ItemTemplate>
                                                    <div class="ind-news-date">
                                                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("mes_datetime").ConvertToShowDT() %>'></asp:Label>
                                                    </div>
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="訊息種類">
                                                <ItemTemplate>
                                                    <div class="ind-news-item">
                                                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("cla_no").GetClaType() %>'></asp:Label>
                                                    </div>
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="主題">
                                                <ItemTemplate>
                                                    <div class="ind-news-context">
                                                        <asp:LinkButton ID="LinkButton1" runat="server" CommandName='<%# Eval("mes_no") %>'><%# Eval("mes_title") %></asp:LinkButton>
                                                    </div>
                                                </ItemTemplate>
                                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <HeaderStyle HorizontalAlign="Center" />
                                    </cc1:GridView>
                                </div>
                            </td>
                            <td align="left" valign="top">
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                            <div class="ind-heading-service">
                                                <% Response.Write("服務項目".ConverToCN());%>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <ul class="ul2">
                                                <li>
                                                   <% Response.Write("糖尿病、高血壓、初級慢性腎臟病照護及骨鬆衛教".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("舉辦病友團體聯誼會".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("提供相關醫事人員（醫師、護理、營養…等）之糖尿病照護及衛教訓練場所".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("協助糖尿病衛教學會辦理講習會，如：血糖自我監測工作坊、中區護理人員研討會…".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("協助彰化縣、南投縣、苗栗縣糖尿病共同照護網衛教人員在職教育課程".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("協助離島偏遠地區（金門、連江縣）醫療人員在職教育講習會及實習課程訓練".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("研發提昇醫事人員照護能力之教材".ConverToCN());%>
                                                </li>
                                                <li>
                                                    <% Response.Write("遠距醫療照護管理".ConverToCN());%>
                                                </li>
                                            </ul>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <div class="ind-heading-site">
                                    <% Response.Write("相關單位".ConverToCN());%> 
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div class="ind-site">
                                    <a href="http://www.who.int/en/" target="_blank">
                                        <img src="css/tem/img/img-ind-site-1.jpg" width="147" height="50" />
                                    </a>
                                    <a href="http://www.idf.org/" target="_blank">
                                        <img src="css/tem/img/img-ind-site-2.jpg" width="61" height="47" />
                                    </a>
                                    <a href="http://www.joslin.org/" target="_blank">
                                        <img src="css/tem/img/img-ind-site-3.jpg" width="56" height="53" />
                                    </a>
                                    <a href="http://www.tade.org.tw/index.asp" target="_blank">
                                        <img src="css/tem/img/img-ind-site-4.jpg" width="65" height="61" />
                                    </a>
                                    <a href="http://www.diabetes.org/" target="_blank">
                                        <img src="css/tem/img/img-ind-site-5.jpg" width="142" height="53" />
                                    </a>
                                    <a href="http://www.endo-dm.org.tw/dia/dia_default.asp" target="_blank">
                                        <img src="css/tem/img/img-ind-site-6.jpg" width="61" height="58" />
                                    </a>
                                    <a href="http://www.endocrineweb.com/conditions" target="_blank">
                                        <img src="css/tem/img/endocrine.gif" width="135" height="32" />
                                    </a>
                                    <a href="http://professional.diabetes.org/ImageBank.aspx" target="_blank">
                                        <img src="css/tem/img/DiabetesPro.png" width="180" height="38" />
                                    </a>
                                    <a href="http://www.easd.org/easd/" target="_blank">
                                        <img src="css/tem/img/EFSD.jpg" width="80" height="43" />
                                    </a>
                                    <a href="https://www.aace.com/pub/guidelines/" target="_blank">
                                        <img src="css/tem/img/AACE.png" width="70" height="70" />
                                    </a>
                                    <a href="http://www.thyroid.org/" target="_blank">
                                        <img src="css/tem/img/ATA.png" width="63" height="58" />
                                    </a>
                                    <a href="http://www.endo-dm.org.tw/" target="_blank">
                                        <img src="css/tem/img/endo.png" width="80" height="80" />
                                    </a>
                                    <a href="http://www.dmcare.org.tw/" target="_blank">
                                        <img src="css/tem/img/dmcare.png" width="98" height="57" />
                                    </a>
                                    <a href="http://homepage.vghtpe.gov.tw/~meta/hospital/index.htm" target="_blank">
                                        <img src="css/tem/img/vghtpe.png" width="72" height="56" />
                                    </a>
                                    <a href="http://www.diabetes.org.tw/wddt/wddt_heduc.jsp" target="_blank">
                                        <img src="css/tem/img/diabetes.png" width="105" height="81"/>
                                    </a>
                                    <a href="http://www.medicinenet.com/cholesterol_drugs_pictures_slideshow/article.htm" target="_blank">
                                        <img src="css/tem/img/medicinenet.png" width="243" height="49"/>
                                    </a>
                                    <a href="http://www.ncbi.nlm.nih.gov/pubmed/" target="_blank">
                                        <img src="css/tem/img/ncbi.gif" width="110" height="38"/>
                                    </a>
                                </div>
                            </td>
                        </tr>
                    </table>
                    </div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="get_Top5Data" TypeName="CCH.DAO.messageDAO">
        <SelectParameters>
            <asp:Parameter DefaultValue="2001" Name="sfu_no" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

